package com.sicilin.system.login.dto;

public class LoginAuth {
    private Integer authId;
    private String authTotalCode;
    private Integer level;

    public String getAuthTotalCode() {
        return authTotalCode;
    }

    public void setAuthTotalCode(String authTotalCode) {
        this.authTotalCode = authTotalCode;
    }

    public Integer getAuthId() {
        return authId;
    }

    public void setAuthId(Integer authId) {
        this.authId = authId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        LoginAuth loginAuth = (LoginAuth) o;

        return authId.equals(loginAuth.authId);
    }

    @Override
    public int hashCode() {
        return authId.hashCode();
    }
}
